﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 库位
    /// </summary>
    public class WhLocation
    {
        /// <summary>
        /// 库位ID（主键）
        /// </summary>
        [Key]
        public long StorageLocationId { get; set; }

        /// <summary>
        /// 仓库ID（外键）
        /// </summary>
        public long WarehouseId { get; set; }

        /// <summary>
        /// 库位编码
        /// </summary>
        public string StorageLocationCode { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        public string StorageLocationName { get; set; }

        /// <summary>
        /// 库位容量
        /// </summary>
        public decimal StorageLocationCapacity { get; set; }

        /// <summary>
        /// 负责人ID
        /// </summary>
        public decimal ManagerId { get; set; }

        /// <summary>
        /// 库位状态
        /// </summary>
        public char StorageLocationStatus { get; set; }

        /// <summary>
        /// 排序顺序
        /// </summary>
        public int SortOrder { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
    }
}
